<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_header = TRUE;
include $this->admin_tpl('header','Admin');
?>
<div class="pad_10">
<div class="common-form">
<form name="myform" action="<?php echo U('Document/Convert/update') ?> " method="post" id="myform">
<table width="100%" class="table_form contentWrap" align="center">
	<tr>
		<td><?php echo L('username')?>
		<input type="hidden" name="info[userid]" value="<?php echo $info['userid'] ?>">

		<input type="hidden" name="info[id]" value="<?php echo $info['id'] ?>">
		<input type="hidden" name="info[credit_type]" value="<?php echo $info['credit_type'] ?>">
		</td> 
		<td><input type="text" name="info[name]" value="<?php echo $info['consignee']?>" disabled="disabled"></input></td>
	</tr>
	<tr>
		<td><?php echo L('convert_name')?></td> 
		<td><input type="text" value="<?php echo $info['name']?>" disabled="disabled"></input></td>
	</tr>
	<tr>
		<td><?php echo L('credit_num')?></td> 
		<td>
		<input type="text" value="<?php echo $info['number']?>" disabled="disabled"></input>
		<input type="hidden" name="info[credit_num]" value="<?php echo $info['number'] ?> ">
		</td>
	</tr>
	<tr>
		<td><?php echo L('convert_time')?></td> 
		<td><input type="text" value="<?php echo date("Y-m-d H:i:s",$info['time']) ?>" disabled="disabled"></input></td>
	</tr>
	<tr>
		<td><?php echo L('duiuan_type')?></td> 
		<td>
			<input type="radio" name="info[status]" value="0" <?php if($info['status'] == '0')  echo "checked"; ?>/>未兑换
			<input type="radio" name="info[status]" value="1" <?php if($info['status'] == '1')  echo "checked"; ?> />已兑换
		</td>
	</tr>
	<tr>
		<td><?php echo L('conver_type')?></td> 
		<td>
		<input type="text" name="info[shop_type]" value="<?php if($info['shop_type'] == '1') echo '虚拟'; else echo '数码'; ?>"  disabled="disabled">
	</tr>
</table>

    <div class="bk15"></div>
    <input name="dosubmit" type="submit" value="<?php echo L('提交')?>" class="dialog" id="dosubmit">
</form>
</div>
</div>
</body>
</html>
